package com.bootssm.dao;

import com.bootssm.pojo.Borrow;
import com.bootssm.pojo.BorrowVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BorrowMapper {
    // 获取借阅申请列表
    List<Borrow> findAll(BorrowVO borrowVO);
    // 获取总数量
    Integer getTotal(BorrowVO borrowVO);

    // 修改
    void update(Borrow borrow);

    void insert(Borrow borrow);

    void deleteById(Borrow borrow);
}
